package com.haierp.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
@TableName("wx_session")
public class WxSession implements Serializable{

	@TableId(type = IdType.INPUT)
	private String cookie;// key
	@TableField(value = "session_key")
	private String sessionKey; // 微信sessionKey
	@TableField(value = "open_id")
	private String openId;// 微信 用户openId
	@TableField(value = "gmt_create")
	private Date gmtCreate;//创建时间

	public String getCookie() {
		return cookie;
	}

	public void setCookie(String cookie) {
		this.cookie = cookie;
	}

	public String getSessionKey() {
		return sessionKey;
	}

	public void setSessionKey(String sessionKey) {
		this.sessionKey = sessionKey;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	@Override
	public String toString() {
		return "WxSession [cookie=" + cookie + ", sessionKey=" + sessionKey + ", openId=" + openId + "]";
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	
	
	
}
